class DailyMailDigestJob {

  static triggers = {
    cronTrigger startDelay: 10000, cronExpression: '30 59 23 * * ?'
  }

  def mailNotifierService

  def execute() {
    log.info "Sending Daily Digest Mail"
    mailNotifierService.sendDailyDigest()
  }
}
